import { Rule, RuleType } from "@midwayjs/validate";
import { SystemConfigType } from "../interfaces/ISystem.interface";

export class SetSystemConfigDTO{
    id?:number;
    @Rule(RuleType.required())
    type:SystemConfigType;
    @Rule(RuleType.string().required())
    datas:string;
}

export class GetSystemConfigDTO{
    @Rule(RuleType.required())
    type:SystemConfigType;
}